<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8" isELIgnored="false"%>
	
<%@ include file="/WEB-INF/views/shared/taglib.jsp"%>

<div class="row">
	<div class="col-md-6 col-sm-6 col-lg-6 hidden-xs" >
		<c:set value="${zhonganAccidentSearch.searchItemList}" var="searchItemList" />
		<%@ include file="/WEB-INF/views/shared/master/searchItem.jsp"%>
	</div>
	<div class="col-md-6 col-sm-6 col-lg-6 col-xs-12 text-right">
		<t:roleButton />
	</div>
</div>

<script type="text/javascript">
function addData(){
	top.openModal("/admin/insu/zhonganAccident/zhonganAccidentDetailed","zhonganAccident_form","意外险信息-添加",800,446);
}
function editData(){
	var id=getKeyId();
	if(isEditor(id)){
		top.openModal("/admin/insu/zhonganAccident/zhonganAccidentDetailed?key="+id,"zhonganAccident_form","意外险信息-修改",800,446);
	}
}
function selData(){
	var id=getKeyId();
	if(isEditor(id)){
		top.openModal("/admin/insu/zhonganAccident/zhonganAccidentDetailed?key="+id+"&mode=3","zhonganAccident_form","意外险信息-查看",800,446);	
	}
}
function deleteData(){
	var id=getKeyId();
	if(isEditor(id)){
		var url=$.getVirtualPath()+"/admin/insu/zhonganAccident/delete?key="+id;
		deleteDataEx(url,function(data){
			if(data.resultType=="success"){
				formSubmit();
			}
		})		
		
	}
}

</script>